Selected Row Handling

Add Copy Record Button

Code Customization
Add Copy Record Button
Description:

This customization is applicable only for tables with primary key computed in the database.

This customization adds a Copy Button to a table control and handles selected row processing in the table.

This customization creates new database records which are a copy of the records selected by the user.

For a Web Application the customization will be added in:

..\<Application Name>\<Table Name>\Show<Table Name>Table.Controls.cs

For example: C:\MyApp1\Customers\ShowCategoriesTable.Controls.cs


For a Web Site the customization will be added in:

..\<Application Name>\App_Code\<Table Name>\Show<Table Name>Table.Controls.cs

For example: C:\MyApp1\App_Code\Customers\ShowCategoriesTable.Controls.cs

Procedure:

Step 1:  In Iron Speed Designer, switch to Layout Editor and select the Filters region.

Step 2:  Drag and drop a Button (Themed) control from the Toolbox to the Search Button cell.

Step 3:  Display the Properties dialog and go to the Display tab.

Step 4:  Enter Copy as Button text.

Step 5:  Build the application.

Step 6:  Use this wizard to add code customization.

Step 7:  Build and run the application.

Applies To:

This customization is only applicable to pages with table controls.

Disclaimer:
Customizations included in this wizard are provided as a sample to demonstrate a feature, and may work only in specific situations. The Iron Speed Designer support team cannot assist in the resolution of problems which may occur as a result of customizing your application or modifying a customization to fit a particular purpose.

Terms of Service Privacy Statement